#include "../seqlist.h"
#include <stdio.h>
#include <stdlib.h>
int main()
{
    sstruct *p=input();
    print(daozhi(p));
}